package Demo1;

/**
 * @author : zzr
 * @description :
 * @date :
 */
public class Card {
    private int rank; //牌面值
    private String suit; //花色

    public Card() {
    }

    public Card(int rank, String suit) {
        this.rank = rank;
        this.suit = suit;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    @Override
    public String toString() {
        return suit + " " + rank;
    }
}